home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat2 / standard / satgetid.z / satgetid
Encoding:
Text File  |  1998-10-20  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssaaaattttggggeeeettttiiiidddd((((2222))))                                                        ssssaaaattttggggeeeettttiiiidddd((((2222))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      satgetid, satsetid - get or set audit identity
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssaaaatttt....hhhh>>>>
  13.  
  14.      iiiinnnntttt ssssaaaattttggggeeeettttiiiidddd ((((vvvvooooiiiidddd))));;;;
  15.      iiiinnnntttt ssssaaaattttsssseeeettttiiiidddd ((((iiiinnnntttt))));;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _s_a_t_g_e_t_i_d returns the audit identity of the calling process.  _s_a_t_s_e_t_i_d
  19.      sets the audit identify of the calling process.
  20.  
  21.      The calling process must have appropriate privilege to successfully call
  22.      _s_a_t_g_e_t_i_d or _s_a_t_s_e_t_i_d. If ____PPPPOOOOSSSSIIIIXXXX____CCCCAAAAPPPP is in effect, appropriate privilege
  23.      includes CCCCAAAAPPPP____AAAAUUUUDDDDIIIITTTT____CCCCOOOONNNNTTTTRRRROOOOLLLL capability.
  24.  
  25. EEEERRRRRRRROOOORRRRSSSS
  26.      _s_a_t_g_e_t_i_d and _s_a_t_s_e_t_i_d will fail if one or more of the following are true:
  27.  
  28.      [ENOPKG]       Audit is not configured on this system.
  29.  
  30.      [EPERM]        The caller doesn't have CCCCAAAAPPPP____AAAAUUUUDDDDIIIITTTT____CCCCOOOONNNNTTTTRRRROOOOLLLL capability.
  31.  
  32. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  33.      A return value of -1 indicates an error and _e_r_r_n_o is set to indicate the
  34.      error.  Otherwise, _s_a_t_g_e_t_i_d returns the audit identity of the calling
  35.      process, and _s_a_t_s_e_t_i_d returns 0 if the audit identity of the calling
  36.      process was successfully set.
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      satd(1m), satoff(2), saton(2), satstate(2), satwrite(2)
  40.  
  41. OOOORRRRIIIIGGGGIIIINNNN
  42.      Silicon Graphics, Inc.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.